package com.atguigu.vue.service.impl;

import com.atguigu.vue.bean.Schedule;
import com.atguigu.vue.mapper.ScheduleMapper;
import com.atguigu.vue.service.ScheduleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScheduleServiceImpl implements ScheduleService {
    @Autowired
    private ScheduleMapper scheduleMapper;
    @Override
    public List<Schedule> getAll() {
        return scheduleMapper.getAll();
    }
}
